home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 032a / ast_93.zip / 0573.TB < prev    next >
Text File  |  1990-04-19  |  4KB  |  106 lines

  1. =============================================================================
  2.  
  3. AST RESEARCH, INC.         TECHNICAL BULLETIN #0573A                 04-19-90
  4.  
  5. =============================================================================
  6.  
  7.  
  8.                   5251/12 AND SYSTEM 34 SESSION PARAMETERS
  9.  
  10.  
  11. With Version 4.22 and below of AST-5251/12 emulation software, some System/34
  12. session parameters may be deleted after running a procedure.  When signing on
  13. to a subsequent session with the same workstation ID, the following
  14. parameters will have been deleted (zeroed):
  15.  
  16.                          LIBRARY
  17.                          SYSLIST DEVICE
  18.                          FORMS
  19.                          LINES PER PAGE
  20.  
  21. The KERNEL.EXE program can be patched to ensure that this does not happen.
  22. The patch outlined in this document uses NORTON UTILITIES, but can be
  23. modified to fit other debugging programs.
  24.  
  25. To alter KERNEL.EXE using NORTON UTILITIES do the following:
  26.  
  27.     1.  Enter the NORTON UTILITIES program.  From the "Main Menu" choose
  28.         EXPLORE DISK.  From "Menu 1" choose the appropriate item.
  29.  
  30.     2.  From "Menu 1.1" change directory or drive designation as necessary to
  31.         make sure that KERNEL.EXE (found on disk 1 of the emulation software)
  32.         is available to the program.  Next, choose the FILE option "Menu
  33.         1.1.3" and highlight KERNEL.EXE.
  34.  
  35.     3.  Return to "Menu 1" and take the SEARCH option, then from "Menu 1.4"
  36.         choose TEXT TO SEARCH.  The next screen has two fields.  Tab to the
  37.         HEX field and enter the hex string "B9 0B 00".  Return to the
  38.         previous menu and choose START SEARCH.  The program will display a
  39.         message that the string has been found.
  40.  
  41.     4.  Move the cursor over the hex digits "0B" and type in "09" over them
  42.         and press <ENTER>.  A screen will appear with choices of action to
  43.         take.  Choose WRITE CHANGE TO DISK.
  44.  
  45.     5.  When this operation is complete, repeat Step 3, with the exception of
  46.         the hex data to enter.  This time, the string to enter is "B9 68 0B".
  47.  
  48.     6.  After the text is found, move the cursor over the "0B" and type in
  49.         "09" over the top of these digits.  Repeat the process of saving the
  50.         new data to disk.
  51.  
  52.     7.  Press <ESC> to return to the "Main Menu" and exit NORTON UTILITIES.
  53.         Be sure to copy the "patched" KERNEL.EXE to the working directory or
  54.         disk to be used when running emulation.
  55.  
  56.     8.  Enter Model 12 emulation and verify that the changes have the correct
  57.         affect.
  58.  
  59. To alter KERNEL.EXE  using the MS-DOS DEBUG program, do the following:
  60.  
  61.     1.  Make sure the DEBUG program is available, then type the following:
  62.  
  63.         COPY KERNEL.EXE KERNEL.FIX<ENTER> {copy the kernel}
  64.  
  65.         DEBUG KERNEL.FIX<ENTER>           {make sure DEBUG
  66.                                           is available}
  67.  
  68.         -S 0 FFFE B9 0B 00<ENTER>         {search for the opcodes}
  69.  
  70.         xxxx:yyyy                         {location of opcodes
  71.                                           from DEBUG}
  72.  
  73.         -E xxxx:yyyy<ENTER>               {enter editing mode}
  74.  
  75.         xxxx:yyyy  B9.<SPACE> 0B.09<ENTER>{change 0B to 09 only}
  76.  
  77.         -S 0 FFFE B9 68 0B<ENTER>         {search for next string}
  78.  
  79.         aaaa:zzzz                         {DEBUG prints address on
  80.                                           screen}
  81.  
  82.         -E aaaa:zzzz<ENTER>               {edit address supplied in
  83.                                           previous step}
  84.  
  85.         aaaa:zzzz  B9.<SPACE> 68.<SPACE>  {change 0B to 09}
  86.         0B.09<ENTER>
  87.  
  88.         -W                                {write the changes out
  89.                                           to disk}
  90.  
  91.         -Q                                {quit the debugger}
  92.  
  93.     2.  If you would like to save a copy of the original kernel, type:
  94.  
  95.         REN KERNEL.EXE KERNEL.OLD
  96.         REN KERNEL.FIX KERNEL.EXE
  97.  
  98.         If you do not want to save a copy of the original kernel, type:
  99.  
  100.         COPY KERNEL.FIX KERNEL.EXE
  101.         DEL KERNEL.FIX
  102.  
  103. These changes should be performed only with those copies of 5251/12 emulation
  104. that connect to the System/34.  They should never be made to any copy of
  105. 5251/12 that normally connects to a System/36 or System/38.
  106.